﻿/// <reference path="_namespace.js" />

/*****************************************************************************
Ajaxna library Interface definition.
Author: krobinson 10/11/2008 6:19:16 PM.
Class:  ajax.geometry.shapes.IShape

*****************************************************************************/

$addNamespace("ajax.geometry.shapes");
//-----------------------------------------------------------------------------

ajax.geometry.shapes.IShape = function(){}; // ctor should be blank.
$extend("ajax.geometry.shapes.IShape", ""); // You may also inherit from another interface.
//-----------------------------------------------------------------------------

// Interface definition.
//-----------------------------------------------------------------------------
ajax.geometry.shapes.IShape.prototype.intersects = function(objectOfSameType)
{///<summary>Implement this method in your shape class.</summary>
 ///<returns type="boolean"/> 
};

// Statics
//-----------------------------------------------------------------------------
ajax.geometry.shapes.IShape.cast = function(obj)
{///<returns type="ajax.geometry.shapes.IShape"/>
    return obj;
}